<template>
  <!-- 外层容器确保占满全屏 -->
  <div class="h-screen w-full overflow-hidden">
    <router-view />
  </div>
</template>

<script lang="js" setup></script>

<style>
/* 重置body和html的默认边距，确保全屏无间隙 */
body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
}

#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  background-color: #e9f3ff;
  height: 100%; /* 继承html的100%高度 */
}
</style>
